﻿@page
@{ Layout = "_Layout"; }

<el-form v-if="administrator" label-width="150px" size="mini">
  <el-form-item label="管理员Id">
    {{ administrator.id }}
  </el-form-item>
  <el-form-item label="账号">
    {{ administrator.userName }}
  </el-form-item>
  <el-form-item label="姓名">
    {{ administrator.displayName }}
  </el-form-item>
  <el-form-item label="级别">
    {{ level }}
  </el-form-item>
  <el-form-item label="角色" v-if="isOrdinaryAdmin">
    <span v-html="roleNames"></span>
  </el-form-item>
  <el-form-item label="可管理站点" v-if="!isSuperAdmin">
    <span v-html="siteNames"></span>
  </el-form-item>
  <el-form-item label="创建时间">
    {{ administrator.creationDate }}
  </el-form-item>
  <el-form-item label="最后登录时间">
    {{ administrator.lastActivityDate }}
  </el-form-item>
  <el-form-item label="手机号码">
    {{ administrator.mobile }}
  </el-form-item>
  <el-form-item label="电子邮箱">
    {{ administrator.email }}
  </el-form-item>
</el-form>

<el-divider></el-divider>
<el-row align="right" style="margin-right: 5px; margin-top: 10px;">
  <el-col :span="24" align="right">
    <el-button size="small" v-on:click="btnCancelClick">关 闭</el-button>
  </el-col>
</el-row>

@section Scripts{ <script src="/sitefiles/assets/js/admin/settings/administratorsLayerView.js" type="text/javascript"></script> }